package com.fuyao.cloud.admin.flow.actor;

import com.fuyao.cloud.flowable.entity.ActorUser;
import com.fuyao.cloud.flowable.vo.ActorInstance;
import com.fuyao.cloud.common.security.service.CloudUser;

import java.util.List;

/**
 *  定义规则接口
 */
public interface ActorRule {

    String getName();

    String getCode();

    int getArgNum();

    String[] getArgsDesc();

    List<ActorInstance> execute(CloudUser cloudUser, ActorUser actorUser, String procInstId) throws RuntimeException;

}
